<template>
	<view>
		<choices v-for="item in 7" :key="item" @choice="choiceRoom" :title="title+`${item+101}`+'室'">
		</choices>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		computed: {
			title() {
				return this.$store.state.house.room
			}
		},
		methods: {
			choiceRoom(e) {
				this.$store.commit('house/setRoomInfo', e)
				uni.navigateTo({
					url: '../roomInfo/roomInfo'
				})
			}
		}
	}
</script>

<style>

</style>
